<!DOCTYPE html>
<html>
<head>
   <script type='text/javascript' src='static/js/common.js'></script>
   <meta charset="utf-8">
   <title>洛千婷我爱你</title>
   <meta name="keywords" content="洛千婷我爱你">
   <meta name="description" content="洛千婷我爱你">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link href="static/css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
   <link href="static/css/base.css" rel="stylesheet" type="text/css" media="all">
   <link href="static/css/main.css" rel="stylesheet" type="text/css" media="all">
   <link href="static/css/venobox.css" rel="stylesheet" type="text/css" media="all">
   <link href="static/css/fonts.css" rel="stylesheet" type="text/css" media="all">
   <link href="static/css/ae168344b8194b348b667f19ac4d1956.css" rel="stylesheet">
   <link rel="icon" href="./favicon2.ico">
</head>
<body>
   <div class="loader">
      <div class="loader-inner">
         <svg width="120" height="220" viewbox="0 0 100 100" class="loading-spinner" version="1.1">
            <circle class="spinner" cx="50" cy="50" r="21" fill="#ffffff" stroke-width="2"></circle>
         </svg>
      </div>
   </div>
   <div class="wrapper">
      <section class="hero overlay">
         <div class="background-img">
            <img src="static/picture/149760288381289.jpg" alt="">
         </div>
         <header class="header default">
            <div class=" left-part">
               <a class="logo scroll" href="#hero">
                  <h2>LOVE QIANTING</h2>
               </a>
            </div>
            <div class="right-part">
               <nav class="main-nav">
                  <div class="toggle-mobile-but">
                     <a href="#" class="mobile-but">
                        <div class="lines"></div>
                     </a>
                  </div>
                  <ul>
                     <li><a class="scroll" href="#home">爱的首页</a></li>
                     <li><a class="scroll" href="#story">爱的故事</a></li>
                     <li><a class="scroll" href="#album">爱的相册</a></li>
                  </ul>
               </nav>
            </div>
         </header>
         <div class="inner-hero">
            <div class="container hero-content">
               <div class="row">
                  <div class="col-sm-12 text-center">
                     <h1 class="large mb-20">i love you</h1>
                     <div class="block-date-hero">
                        <div class="circle-dashed bg-n">
                           <div class="round-circle">
                              <svg viewbox="0 0 103 103" version="1.1" class="dashed-border">
                                 <circle cx="50%" cy="50%" r="50"></circle>
                              </svg>
                              <i class="icon-heart"></i>
                           </div>
                        </div>
                        <ul>
                           <li>洛千婷</li>
                           <li>刘桐序</li>
                        </ul>
                     </div>
                     <p class="mt-20 lead"></p>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <section id="story" class="story pt-120 pb-120">
         <svg class="section-dashed" version="1.1" x="0px" y="0px" width="50px" height="578px" xml:space="preserve">
            <path class="dashed-line" stroke-width="1" d="M30 0 v600 400"></path>
         </svg>
         <div class="container">
            <div class="row">
               <div class="col-sm-12 text-center mb-100">
                  <h1 class="title">Our love story</h1>
                  <p>The Story of our love</p>
               </div>
            </div>
            <div class="row">
               <div class="col-md-4 col-md-offset-4 col-sm-8 col-sm-offset-2 text-center mb-30">
                  <h2 class="heavy">望尽星辰 梦里是你<br><span>关于美好 要从我遇见你的那天说起</span></h2>
               </div>
            </div>
            <div class="row story-row mt-100 mb-100">
               <div class="circle-dashed timeline bg">
                  <div class="round-circle bg before">
                     <svg viewbox="0 0 103 103" version="1.1" class="dashed-border">
                        <circle cx="50%" cy="50%" r="50"></circle>
                     </svg>
                     <i class="icon-heart"></i>
                  </div>
               </div>
               <div class="col-sm-5 ">
                  <div class="couple-story text-right">
                     <p>你在的时候，你就是全世界，你不在的时候，全世界都是你。</p>
                  </div>
               </div>
               <div class="col-sm-5 col-sm-offset-2">
                  <div class="couple-story">
                     <p>莎士比亚说过：爱情是一种甜蜜的痛苦，但是我愿意忍受这种痛苦，莎士比亚还说过，世界上没有比服侍爱情更快乐的了，你愿不愿意享受这种快乐？当然你是愿意的 ~ 嘿嘿！</p>
                  </div>
               </div>
            </div>
            <div class="row story-row mt-100 mb-80 ">
               <div class="circle-dashed timeline bg green">
                  <div class="round-circle  green before">
                     <svg viewbox="0 0 103 103" version="1.1" class="dashed-border">
                        <circle cx="50%" cy="50%" r="50"></circle>
                     </svg>
                     <i class="icon-heart"></i>
                  </div>
               </div>
               <div class="col-sm-5 ">
                  <div class="couple-story text-right">
                     <p>如果我从没遇见你，如果我从没爱上你，如果我一开始没坚信，也许我就不会是现在的这个自己。</p>
                  </div>
               </div>
               <div class="col-sm-5 col-sm-offset-2">
                  <div class="couple-story">
                     <p>有一种爱的感觉，叫感同身受。有一种爱的默契，叫心有灵犀。有一种爱的承诺，叫天长地久。</p>
                  </div>
               </div>
            </div>
            <div class="row">
               <div class="col-md-12  text-center mt-100">
                  <a href="#" class="but">
                     <span>Home</span>
                     <svg class="but-svg" width="175" height="50" viewbox="0 0 415 120">
                        <rect class="but-rect" x="10" y="10" width="400" height="100" rx="6" ry="6"></rect>
                     </svg>
                  </a>
               </div>
            </div>
         </div>
      </section>
      <section class="date pt-150 pb-150 overlay">
         <div class="background-img">
            <img src="static/picture/4.jpg" alt="">
         </div>
         <div class="container">
            <div class="row">
               <h2 class="indent">Love the date</h2>
               <div class="col-sm-12 text-center">
                  <div class="block-content front-p">

                     <h2 class="typo">Love the date</h2>
                     <span id="elapseClock" class="text-white" style="font-size: 45px;font-weight: 300;">days <span
                           class="digit">20</span> hours <span class="digit">14</span> minutes <span
                           class="digit">00</span> seconds</span>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <section id="album" class="album bg-grey pt-120 pb-120">
         <div class="container">
            <div class="row">
               <div class="col-sm-12 text-center mb-100">
                  <h1 class="title">爱的相册</h1>
                  <p>Album of Love</p>
               </div>
            </div>
            <div class="row mb-30">
               <h2 class="indent">Photo album</h2>
               <div class="col-md-4 col-sm-4 col-xs-12 ">
                  <div class="block-img">
                     <a href="static/picture/Ha2f9396264034bdb8c34d519c727381.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/Ha2f9396264034bdb8c34d519c727381.jpg">
                        </div>
                     </a>
                  </div>
               </div>
               <div class="col-md-4 col-sm-4 col-xs-12 ">
                  <div class="block-img">
                     <a href="static/picture/t012620fb21ab954ad5.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/t012620fb21ab954ad5.jpg">
                        </div>
                     </a>
                  </div>
               </div>
               <div class="col-md-4 col-sm-4 col-xs-12 ">
                  <div class="block-img">
                     <a href="static/picture/t0168b6fe7b1aa99a24.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/t0168b6fe7b1aa99a24.jpg">
                        </div>
                     </a>
                  </div>
               </div>
               <div class="col-md-4 col-sm-4 col-xs-12">
                  <div class="block-img">
                     <a href="static/picture/t019345b3737a12ab0c.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/t019345b3737a12ab0c.jpg">
                        </div>
                     </a>
                  </div>
               </div>
               <div class="col-md-4 col-sm-4 col-xs-12 ">
                  <div class="block-img">
                     <a href="static/picture/Hfe8d4f1c618f44138fba7b1ad43d1e3.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/Hfe8d4f1c618f44138fba7b1ad43d1e3.jpg">
                        </div>
                     </a>
                  </div>
               </div>
               <div class="col-md-4 col-sm-4 col-xs-12 ">
                  <div class="block-img">
                     <a href="static/picture/t0109082874b6dc40e6.jpg" class="venobox">
                        <div class="background-img">
                           <img alt="" src="static/picture/t0109082874b6dc40e6.jpg">
                        </div>
                     </a>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <section class="just-married pt-200 pb-200 overlay">
         <div class="background-img">
            <img src="static/picture/17.jpg" alt="">
         </div>
         <div class="container">
            <div class="row">
               <div class="col-sm-12 text-center">
                  <div class="block-content front-p">
                     <h2 class="typo">❤</h2>
                     <h2 class="heavy uppercase mt-10 light">余生是你 满心欢喜</h2>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <footer class="footer pt-70 pb-70">
         <div class="container">
            <div class="row">
               <div class="col-sm-12 text-center">
                  <p class="uppercase heavy normal">&copy; love. 小序 & 憨憨</p>
               </div>
            </div>
         </div>
      </footer>
      <bgsound src="./bgMusic.mp3" loop="-1">
         <audio src="./bgMusic.mp3" controls=""
            autoplay='autoplay' loop="loop" id="bgmusic" style="display:none"></audio>
   </div>
   <script src="static/js/jquery-1.12.4.min.js" type="text/javascript"></script>
   <script src="static/js/jquery.countdown.min.js" type="text/javascript"></script>
   <script src="static/js/venobox.min.js" type="text/javascript"></script>
   <script src="static/js/smooth-scroll.js" type="text/javascript"></script>
   <script src="static/js/script.js" type="text/javascript"></script>

   <script>
      (function () {
         function log(info) {
            console.log(info);
            // alert(info);
         }
         function forceSafariPlayAudio() {
            audioEl.load(); // iOS 9   还需要额外的 load 一下, 否则直接 play 无效
            audioEl.play(); // iOS 7/8 仅需要 play 一下
         }

         var audioEl = document.getElementById('bgmusic');

         audioEl.addEventListener('loadstart', function () {
            log('loadstart');
         }, false);
         audioEl.addEventListener('loadeddata', function () {
            log('loadeddata');
         }, false);
         audioEl.addEventListener('loadedmetadata', function () {
            log('loadedmetadata');
         }, false);
         audioEl.addEventListener('canplay', function () {
            log('canplay');
         }, false);
         audioEl.addEventListener('play', function () {
            log('play');
            // 当 audio 能够播放后, 移除这个事件
            window.removeEventListener('touchstart', forceSafariPlayAudio, false);
         }, false);
         audioEl.addEventListener('playing', function () {
            log('playing');
         }, false);
         audioEl.addEventListener('pause', function () {
            log('pause');
         }, false);

         // 由于 iOS Safari 限制不允许 audio autoplay, 必须用户主动交互(例如 click)后才能播放 audio,
         // 因此我们通过一个用户交互事件来主动 play 一下 audio.
         window.addEventListener('touchstart', forceSafariPlayAudio, false);

         audioEl.src = "./bgMusic.mp3";
      })();
   </script>
   <script type="text/javascript">
      var together = new Date();
      var strs = "2020-01-25 02:00:00";
      var nowTime = new Date();
      var together = new Date(strs.replace(/-/g, "/"));
      timeElapse(together);
      setInterval(function () { timeElapse(together); }, 500);
      function timeElapse(c) {
         var e = Date();
         var f = (Date.parse(e) - Date.parse(c)) / 1000;
         var g = Math.floor(f / (3600 * 24)); f = f % (3600 * 24);
         var b = Math.floor(f / 3600);
         if (b < 10) { b = "0" + b } f = f % 3600; var d = Math.floor(f / 60);
         if (d < 10) { d = "0" + d } f = f % 60;
         if (f < 10) { f = "0" + f }
         var a = '<span class="digit">' + g + '</span> days <span class="digit">' + b + '</span> hours <span class="digit">' + d + '</span> minutes <span class="digit">' + f + "</span> seconds"; $("#elapseClock").html(a)
      };
   </script>
   <script type="text/javascript">
      //获取picid函数
      $(function () {
         $("area").click(function () {
            var picId = $(this).attr("data-id");
            var picSrc = "images/img_big/" + picId + ".jpg"
            $(".modal-content>.pic-box>img").attr("src", picSrc);
         })
         var isPlaying = function (audio) { return !audio.paused; }
         var a = document.getElementById('main_audio');
         $('#btn-play').on('click', function () {
            if ($(this).hasClass('rotate')) {
               a.pause();
               $(this).removeClass('rotate');
            } else {
               a.play();
               $(this).addClass('rotate');
            }
         });

      })
   </script>
   <script>
      function autoPlayAudio1() {
         wx.config({
            // 配置信息, 即使不正确也能使用 wx.ready
            debug: false,
            appId: '',
            timestamp: 1,
            nonceStr: '',
            signature: '',
            jsApiList: []
         });
         wx.ready(function () {
            document.getElementById('main_audio').play();
         });
      }
      autoPlayAudio1(); // 推荐使用方法1
   </script>
	<script>
      (function(){
          var bp = document.createElement('script');
          var curProtocol = window.location.protocol.split(':')[0];
          if (curProtocol === 'https') {
              bp.src = 'static/js/push.js';
          }
          else {
              bp.src = 'static/js/push2.js';
          }
          var s = document.getElementsByTagName("script")[0];
          s.parentNode.insertBefore(bp, s);
      })();
   </script>
</body>
<script type='text/javascript' src='static/js/common_love.js'></script>
</html>
